import request from '@/router/axios';

export const getList = (option, current, size, params) => {
  return request({
    url: '/api/mes-warehouse/material/overdue-page',
    method: 'get',
    params: {
      ...params,
      current,
      size
    },
    ...option
  });
};

export const getDetail = (params) => {
  return request({
    url: '/api/mes-warehouse/material/overdue-detail-list',
    method: 'get',
    params: {
      ...params
    }
  });
};
